An Empirical Study of Bad Smell in Code on Maintenance Effort

نویسنده

  • Rohit Kumar
چکیده

In this paper, we represent an automated code smell detection and refactoring tool for calculating risk factor by detecting Code Smells and decrease risk factor by Refactoring Techniques. Refactoring is a process for restructuring or improving internal structure of software without changing its behavior. A new code smell (Lazy Catch) detection is also presented. To achieve this aim Declarative Programming approach is followed along with object-oriented software metrics. Detection of Code Smells is based on various Facts and Rules. We used this tool to detect the bad smells in oops based case studies such as (C#, CPP, Java). That means this tool is independent of any language. Risk Factor level is represented in three categories (Hi, Low, Medium).

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Bad Smells in Software – a Taxonomy and an Empirical Study

In this work, the bad code smells are studied empirically and their relationship to source code metrics is evaluated. This work also presents an initial taxonomy for the bad code smell, which improves their understandability and feasibility The bad code smells, presented by Martin Fowler and Kent Beck, are dissatisfactory structures in the source code of software that decrease software quality ...

متن کامل

Detecting Bad Smells in Code for Refactoring and saving headaches

Any book on Software Engineering will tell you that usually more time is spent in maintenance of a software than in any other effort for the project. This makes design of existing code very important, and its maintenance and improvement even more so. A code that is evolving over, say 5 years, is no longer half as good as the original design, which already was marred by pressing deadlines. Enter...

متن کامل

Do they Really Smell Bad? A Study on Developers’ Perception of Code Bad Smells

In the last decade several catalogues have been defined to characterize code bad smells, i.e., symptoms of poor design and implementation choices. On top of such catalogues, researchers have defined methods and tools to automatically detect and/or remove bad smells. Nevertheless, there is an ongoing debate regarding the extent to which developers perceive bad smells as serious design problems. ...

متن کامل

Finding Bad Code Smells with Neural Network Models

Received May 4, 2017 Revised Jun 28, 2017 Accepted Jul 14, 2017 Code smell refers to any symptom introduced in design or implementation phases in the source code of a program. Such a code smell can potentially cause deeper and serious problems during software maintenance. The existing approaches to detect bad smells use detection rules or standards using a combination of different object-orient...

متن کامل

Can Software Faults be Analyzed using Bad Code Smells? : An Empirical Study

The design of software systems can exhibit several problems which can be either due to inefficient analysis and design during the initial construction of the software or more often, due to software ageing, where software quality degenerates over time. The design problems appear as "bad smells" at code or design level and the process of removing them is termed as Refactoring.. This paper present...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016